package com.eclink.asset.asset.domain.dao;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.eclink.asset.workflow.domain.dto.ApplyRelItem;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 入库申请对象 apply
 *
 * @author chenshixian
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description="入库申请所关联的资产对象")
@Data
@TableName("flow_apply_rel_item")
public class AssetApplyRelItem extends ApplyRelItem {

    @ApiModelProperty("资产编码")
    @Excel(name = "资产编码")
    private String number;

    @ApiModelProperty("资产名称")
    @Excel(name = "资产名称")
    private String name;

    @ApiModelProperty("品牌")
    @Excel(name = "品牌")
    private String brand;

    @ApiModelProperty("型号")
    @Excel(name = "型号")
    private String model;

    @ApiModelProperty("资产分类ID")
    @Excel(name = "资产分类ID")
    private Long categoryId;

    @ApiModelProperty("资产分类名称")
    @Excel(name = "资产分类名称")
    @TableField(exist = false)
    private String categoryName;

    @ApiModelProperty("管理员ID")
    private Long adminId;

    @TableField(exist = false)
    @ApiModelProperty("管理员")
    private String adminName;

    private Integer state;

    private int delFlag;

}
